<?php

declare(strict_types=1);

/**
 * 所有请求都定向到此文件
 * 2025-1-5
 */

header("X-XSS-Protection: 1; mode=block");
header("X-Content-Type-Options: nosniff");
header("Referrer-Policy: same-origin");
header('X-Frame-Options: SAMEORIGIN');
header('X-Powered-By:');

require __DIR__ . '/../core/App.php';

$app = App::getInstance();
$app->setDefaultController('user');
$app->debug = false;

// $echo $b;

$app->run();